from pygame_single import Pygame_Single
import node_class
import data_inputer
from node_effector import *
from map_manager import MapManager
import GA_best_road
# Pygame_Single()#初始化pygame实例
# # node_datas= data_inputer.Loader()#加载数据
map=MapManager(data_inputer.NODES_DATA)
map.LoadMap()#绘制地图
GA_best_road.GA_Thread.start()
#map.DrawRoad([1,2,3,4,5])
# for node in node_datas.values():#初始化节点渲染器
#         var=NodeEffector(node)
        
# NodeEffector.Static_DrawMap()#绘制所有节点
# Pygame_Single.instance.Refresh()
Pygame_Single.instance.Wait()
